Piwik\Tracker\Db\WordPress A

Total Complexity 51
Dependencies 4
Dependents 0
Total lines 260
Lines of code 151
Logical lines of code 92
Comment lines 53
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
before_execute_query()
A
52 12 24
prepareWp()
A
48 11 29
after_execute_query()
S
57 6 16
query()
S
56 3 18
commit()
S
67 3 8
rollBack()
S
67 3 8
lastInsertId()
S
69 2 7
getErrorNumberFromMessage()
S
72 2 5
isErrNo()
S
74 2 4
beginTransaction()
S
66 2 9
disconnect()
S
91 1 2
connect()
S
91 1 2
rowCount()
S
81 1 3
fetch()
S
66 1 8
fetchAll()
S
66 1 8